import axios from '../utils/request'

// 管理员系统的登录
export function loginFn(data: {adminname: string, password: string}){
  return axios({
    url: '/admin/login',
    method: 'post',
    data
  })
}
